Skip to main content

italic

Type

keyword

Summary

Used with the textStyle property to indicate italicized text.

Syntax

italic

Description

Use the italic keyword to emphasize text by presenting it in italics.

You can italicize an object (which italicizes all the text displayed by the object) or a chunk in a field or button.

To add italics to an object without removing other styles (such as bold), add the italic keyword to the end of the textStyle. The following example adds italic to the styles of a button :

    if the textStyle of button 1 is empty then
set the textStyle of button 1 to \"italic\"
else
set the textStyle of button 1 to \
(the textStyle of button 1) & comma & \"italic\"
end if

Examples

set the textStyle of button "Check It" to italic

glossary: property, keyword

keyword: underline, button, strikeout, plain, bold

property: textStyle

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?